namespace KinonekoSoftware.CodariaDB.Core
{
    public enum ImageResType
    {
        Square,
        HorizontalOrientation,
        VerticalOrientation,

    }


    public sealed class ImageRes : Res
    {
        private bool         _isFavorite;
        private string       _title;
        private string       _description;
        private ImageResType _imageType;

        /// <summary>
        /// 获取或设置 <see cref="ImageType"/> 属性。
        /// </summary>
        public ImageResType ImageType
        {
            get => _imageType;
            set => SetValue(ref _imageType, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="Description"/> 属性。
        /// </summary>
        public string Description
        {
            get => _description;
            set => SetValue(ref _description, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="Title"/> 属性。
        /// </summary>
        public string Title
        {
            get => _title;
            set => SetValue(ref _title, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="IsFavorite"/> 属性。
        /// </summary>
        public bool IsFavorite
        {
            get => _isFavorite;
            set => SetValue(ref _isFavorite, value);
        }

        public string ImageID { get; init; }
    }
}